package cn.dy.sbo.dao;

import java.util.List;

import org.springframework.stereotype.Component;
import org.springside.modules.orm.hibernate.HibernateDao;

import cn.dy.sbo.api.StepFieldDao;
import cn.dy.sbo.model.StepField;

@Component
public class StepFieldDaoHibernate extends HibernateDao<StepField, Long> implements StepFieldDao{

	@Override
	public List<StepField> getByCat(Long id) {
		return super.find(" from StepFeild where step.id=? order by orderNum", id);
	}

}
